package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class ZlsLegendDto {

    @Data
    @ApiModel("ZlsLegendDto - LegendDto")
    public static class LegendDto{
        @ApiModelProperty("指标名")
        private String name;
    }

    @Data
    @ApiModel("ZlsLegendDto - HospitalDto")
    public static class HospitalDto{
        @ApiModelProperty("开始时间")
        private Date startDate;
        @ApiModelProperty("结束时间")
        private Date endDate;
    }

    @Data
    @ApiModel("ZlsLegendDto - HospitalIndex")
    public static class HospitalIndex{
        @ApiModelProperty("医院名称")
        private String hospitalName;
        @NotNull(message = "指标不能为空")
        @ApiModelProperty("指标名称")
        private String indicatrix;
        @ApiModelProperty("开始时间")
        private Date startDate;
        @ApiModelProperty("结束时间")
        private Date endDate;
    }
}
